package com.lyz.config;

import java.util.List;

public interface IConfig {
	
	/*字符串的消息类型*/
	public final String MSG_TYPE_STRING = "string";
	/*字节数组的消息类型*/
	public final String MSG_TYPE_BYTES = "bytes";
	
	public String getEncode();
	
	public String getMailHost();
	
	public String getMailFrom();
	
	public String getMailTo();
	
	public String getMailUser();
	
	public String getMailPwd();
	/**
	 * 接收短信的电话号码，多个通过逗号分隔
	 * @return
	 */
	public String getMsgPhoneNum();
	
	public String getFilter(String tag);
	
	public String getRealTimeCondition(String tag);
	
	public int getAlertLevel(String tag);
	
	public String[] getConfigTags();
	
	public int getBytesBufferSize();
	
	public String getProcessingFilePath(String tag);
	
	public String getLogDirectory(String tag);
	
	public String getLogDirectory(String tag, java.util.Date date);
	
	public String getDateFormat(String tag);
	
	public String getFileStart(String tag);
	
	public String getFileEndWith(String tag);
	
	public String getFileSplit(String tag);
	
	public long getFileTimeout(String tag);
	
	public String getServerIp(String tag);
	
	public String[] getServerIps(String tag);
	
	public int getServerPort(String tag);
	
	public int[] getServerPorts(String tag);
	
	public int getLogTimeout();
	
	public int getFetchInteval(String tag);
	
	public String getFetcherClassName(String tag);
	
	public String getMessageHandlerClassName(String tag);
	
	public String getMessageType(String tag);
	
	public String getFileName(String tag);
	
	public long getFileFirstFetcherTime(String tag);
	
	public long getFileFetcherInterval(String tag);
	
	public String getUri(String tag);
	
	public List<String> getUris(String tag);
	
	public int getSoTimeout(String tag);
	
	public List<String> getTaskNodeNames(String tag);
	
	public boolean getNeedFlush(String tag);
	
	public String getCouchbaseURI(String tag);
	
	public String getCouchbaseBucket(String tag);
	
	public String getCouchbasePassword(String tag);
	
	
	
	
}
